import { Module } from '@nestjs/common';
import { NestjsService } from './nestjs.service';
import { NestjsController } from './nestjs.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { nest } from '../db/modal/nest.entity';
import { GoodsMaterial } from '../db/modal/goods.entity';
import { nesttest } from '../db/modal/nesttest.entity';

@Module({
  controllers: [NestjsController],
  providers: [NestjsService],
  imports: [
    TypeOrmModule.forFeature([GoodsMaterial]),
    TypeOrmModule.forFeature([nest, nesttest], 'nest')
  ],
})
export class NestjsModule {}
